projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6834a0
)
placesview: Simplify
author
Benjamin Otte
<otte@redhat.com>
Sun, 20 Mar 2016 04:18:38 +0000
(
05:18
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 20 Mar 2016 04:18:38 +0000
(
05:18
+0100)
http://www.viva64.com/en/b/0383/
gtk/gtkplacesview.c
patch
|
blob
|
history
diff --git
a/gtk/gtkplacesview.c
b/gtk/gtkplacesview.c
index e8ab18c9084383cb64c946d4697f4ea9a545d4e7..b91394f7e75748d3ddd646b0d1c2056a6146ddfe 100644
(file)
--- a/
gtk/gtkplacesview.c
+++ b/
gtk/gtkplacesview.c
@@
-705,8
+705,7
@@
add_volume (GtkPlacesView *view,
name = g_volume_get_name (volume);
path = !is_network ? g_volume_get_identifier (volume, G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE) : NULL;
- if (!mount ||
- (mount && !g_mount_is_shadowed (mount)))
+ if (!mount || !g_mount_is_shadowed (mount))
{
GtkWidget *row;